
package com.insigma.business.qrcode.common._consumer;

import com.insigma.business.qrcode.common.dto.CommonFavoriteSearchRequest;
import com.insigma.business.qrcode.common.dto.CommonFavoriteUpdateRequest;
import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.pay.dto.CommonFavoriteInsertRequest;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.welfare.dto.CommonFavoriteDTO;

import java.util.List;


public interface CommonFavoriteConsumer {

   
    BasePagingResponse<List<CommonFavoriteDTO>> searchCommonFavorite(final CommonFavoriteSearchRequest searchRequest);

   
    BaseResponse<CommonFavoriteDTO> getCommonFavorite(final BaseGetRequest baseGetRequest);

   
    BaseResponse<String> insertCommonFavorite(final CommonFavoriteInsertRequest insertRequest);

   
    BaseResponse<Integer> updateCommonFavorite(final CommonFavoriteUpdateRequest updateRequest);

   
    BaseResponse<Integer> deleteCommonFavorite(final BaseDeleteRequest deleteRequest);


    BaseResponse<Boolean> cachedIsFavoriteP(String type, String bizId, String soldierId);
}
